﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using web.data.entities;

namespace web.core.ViewModels
{
    public class ArticleCategoyViewModels
    {
        public List<article_category_item> listItems { get; set; }

        public List<language> listLanguage { get; set; }

        public List<v_category_article> listParent { get; set; }

        public int? category_id { get; set; }

        [StringLength(100)]
        public string images { get; set; }

        public byte? category_status { get; set; }

        public int? category_sort { get; set; }

        public string category_param { get; set; }

        public int? category_parent { get; set; }

        public string image_display { get; set; }
        public HttpPostedFileBase fileUpload { get; set; }

        public SelectList select_list_param { get; set; }
    }

    // entities quan ly cate type cho tin
    public class ArticleCategoyParamEntities
    {
        public string key { get; set; }
        public string desc { get; set; }
    }
}